{% extends 'administracion/base.html' %}

{% block css-javascript-agregados %}
{% endblock %}

{% block heading_content %}Solicitud de Ingreso{% endblock %}

{% block content %}
    {% if user.is_superuser %}
        <div id="info_pa_filtrar">
            <br/>
            <br/>
            <table style="width: 100%; border-bottom: 1px solid #D3D3D3" >
                <td>
                    <p><b>Nombre</b>: {{ useredit.first_name }}</p>
                    <p><b>Apellido</b>: {{ useredit.last_name }}</p>
                    <p><b>Username</b>: {{ useredit.username }}</p>
                    <p><b>Email</b>: {{ useredit.email }}</p>
                    <p><b>Fecha de Solicitud</b>: {{ useredit.date_joined }}</p>
                    <p><b>Motivo / Referencia</b>: {{ useredit.get_profile.motivo }}</p>
                    <form action="/comunidadcyt/administracion/solicitudesRegistro/activar/{{ useredit.id }}/" method="POST">
                        {% csrf_token %}
                        <input type="submit" class="find_link" value="activar usuario" />
                    </form>
                </td>
            </table>
        </div>
    {% endif %}
{%endblock%}
